package com.dhcc.bpm.modules.content.service.impl;

import com.dhcc.bpm.modules.content.entity.Faq;
import com.dhcc.bpm.modules.content.vo.FaqVO;
import com.dhcc.bpm.modules.content.mapper.FaqMapper;
import com.dhcc.bpm.modules.content.service.IFaqService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @ClassName FaqServiceImpl
 * @Description  FAQ管理 服务实现类
 * @Author lijiacheng
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */


@Service
public class FaqServiceImpl extends BaseServiceImpl<FaqMapper, Faq> implements IFaqService {

	@Override
	public IPage<FaqVO> selectFaqPage(IPage<FaqVO> page, FaqVO faq) {
		return page.setRecords(baseMapper.selectFaqPage(page, faq));
	}

	@Override
	public List<FaqVO> listSelf(FaqVO faq) {
		return baseMapper.listSelf(faq);
	}

	@Override
	public List<Faq> list(Faq faq) {
		return null;
	}

}
